package org.tuoren.official.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.tuoren.common.core.validate.AddGroup;
import org.tuoren.common.core.validate.EditGroup;
import org.tuoren.common.excel.annotation.ExcelDictFormat;
import org.tuoren.common.excel.convert.ExcelDictConvert;
import org.tuoren.official.domain.TChannelImages;

import java.io.Serial;
import java.io.Serializable;



/**
 * 创新联合体轮播图视图对象 t_channel_images
 *
 * @author Lion Li
 * @date 2025-03-27
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TChannelImages.class)
public class TChannelImagesVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 创新联合体Id
     */
    @ExcelProperty(value = "创新联合体Id")
    private Long channelId;

    /**
     * 轮播图地址
     */
    @ExcelProperty(value = "轮播图地址")
    private String imgUrl;

    /**
     * 排序
     */
    @ExcelProperty(value = "排序")
    private Long sort;

    /**
     * 是否展示（0代表展示 2代表隐藏）
     */
    @ExcelProperty(value = "是否展示", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=代表展示,2=代表隐藏")
    private String isShow;

    /**
     * 移动端图片
     */
    private String appPhotoUrl;
}
